import styled from 'styled-components'

export const HeaderWrapper = styled.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  & > div:nth-child(1) {
    font-weight: bold;
    font-size: 18px;
  }
`

export const ItemWrapperContent = styled.div`
  display: flex;
`

export const LeftItemWrappr = styled.div`
  background: #3370da;
  width: 15%;
  height: 130px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 10px 10px 50px 10px;
  .louzhu {
    font-size: 13px;
    line-height: 3em;
    width: 6em;
    background: orange;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    -webkit-transform-origin: left bottom;
    -moz-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate(29.29%, -100%) rotate(45deg);
    -moz-transform: translate(29.29%, -100%) rotate(45deg);
    transform: translate(29.29%, -100%) rotate(45deg);
    text-indent: 0;
    text-align: center;
    justify-content: center;
  }

  & > div {
    display: flex;
    & > span:nth-child(1) {
      min-width: 40px;
    }
    & > span:nth-child(2) {
    }
  }
`

export const RightItemWrapper = styled.div`
  flex: 1;
  position: relative;
  padding-left: 10px;

  & > div:nth-child(2) {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  img {
    width: 100px;
    height: 100px;
    cursor: pointer;
  }
`
